package cn.yunhe.dao.impl;

import cn.yunhe.dao.HouseDao;
import cn.yunhe.entity.House;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import java.util.List;

public class NewsDaoImpl extends HibernateDaoSupport implements HouseDao {
    @Override
    public List<House> getAllList() {
        return  getHibernateTemplate().find("from House");

    }
}
